#include <iostream>

int main(int argc, char const *argv[])
{
    using namespace std;

    int date = 0;
    cout << "请输入 1 ~ 7 的数值: " << endl;
    cin >> date;

    if (date < 1 || date > 7)
    {
        cout << "输入的值是无效值，请输入1 ~ 7!" << endl;
        return 0;
    }

    switch (date)
    {
    case 1:
        cout << "周一" << endl;
        break;
    case 2:
        cout << "周二" << endl;
        break;
    case 3:
        cout << "周三" << endl;
        break;
    case 4:
        cout << "周四" << endl;
        break;
    case 5:
        cout << "周五" << endl;
        break;
    case 6:
        cout << "周六" << endl;
        break;
    default:
        break;
    }

    return 0;
}
